Verifying data restored with structuredClone() when prototypes and descriptors are lost
I am designing an in-memory snapshot-and-restore flow for a JavaScript application state tree, using the global structuredClone() as the copy mechanism. The goal is to take a snapshot, mutate the live state, restore from the snapshot, and then prove the restored data matches what was captured. The documented behavior creates a verification gap. Class instanc