Run results for: structuredClone vs spread vs Object.assign + more
Note!: none of these tests actually do the same thing, and the data in the example is simple. consider also using arrays: those are nice.
Some of these are shallow, some of these are deep-ish.
Data is lost through JSON serialization and back, and more data would be lost in JSON and other methods depending on the data stored.