web-feature: structuredClone()

baseline logo Widely available

The structuredClone() global method creates a deep copy of an object. Values that cannot be cloned can instead be transferred, making the original value no longer usable.