Copies plain objects, arrays and Dates, preserving cycles, shared references,
sparse arrays and null prototypes. Other values (including class instances,
Files, Maps and Sets) retain their identity.
Enumerable own string/symbol properties are read and copied as writable data
properties; accessors, non-enumerable properties and descriptors are not cloned.
Copies plain objects, arrays and Dates, preserving cycles, shared references, sparse arrays and null prototypes. Other values (including class instances, Files, Maps and Sets) retain their identity.
Enumerable own string/symbol properties are read and copied as writable data properties; accessors, non-enumerable properties and descriptors are not cloned.