• Clone the object properties as well as any descendant objects.

    Type Parameters

    • T

    Parameters

    • obj: T

      The object to clone.

    Returns T

    A deep cloned object.