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.
the object to copy
a deep copy of the object
Generated using TypeDoc
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.