Emit only new values if the value changes in a deep equal comparison.
Parameters
maxDepth: number
of iteration to determine if datastructures are equal. When you intend to iterate over all
properties regardless of depth use INFINITY. A depth of 0 uses the same comparison as distinctUntilChanged.
Emit only new values if the value changes in a deep equal comparison.