Function cloneDeep

Deep clone an object. Value types and immutable objects are returned as is.

  • Parameters

    • obj: unknown

    Returns unknown