The structured clone algorithm copies complex JavaScript objects. It is used internally when invoking structuredClone(), to transfer data between Workers via postMessage(), storing objects with IndexedDB, or copying objects for other APIs.| MDN Web Docs
HTML| html.spec.whatwg.org
How do I copy an object in JavaScript? It’s a simple question, without a simple answer.| dassur.ma