• DEPRECATED: Currently serves only as an alias for structuredClone; use that instead. Create a deep copy (with all fields recursively copied) of an object using structured cloning; if structured cloning fails, falls back to JSON serialization.

    Type Parameters

    • T extends object

    Parameters

    • obj: T

      the object to copy

    Returns T

    a deep copy of the object

Generated using TypeDoc