structuredClone()
https://developer.mozilla.org/en-US/docs/Web/API/structuredC...
https://developer.mozilla.org/en-US/docs/Web/API/structuredC...
* Prototypes: structuredClone discards the object’s prototype chain.
* Functions: structuredClone quietly discards functions.
* Non-cloneables: structuredClone throws for some common values, e.g. Node, Error.