No more hacking around with the inadequate
JSON.parse() or bouncing data to a Web Worker in order to deep clone an object, as there’s now
const myDeepCopy = structuredClone(myOriginal);
If I recall correctly, Deno was the first to support this. Also available in Node 17 and Firefox. Safari has it feature-flagged, but it’s expected soon. Will ship with Chromium 98 (currently in beta).