The Structured Clone Algorithm: What JavaScript Can and Cannot Move Between Boundaries
JavaScript's structured clone algorithm preserves cycles, shared references, and many built-in types, but it still rejects or transforms values when data crosses a boundary.