The old way breaks when dealing with complex data types. structuredClone () preserves many built-in JavaScript types, including Dates and circular references. You can use at () to access the last ...