TypeScriptオブジェクトstructuredClone
Object.getPrototypeOf

structuredCloneオブジェクト

spread

オブジェクトや配列のディープコピーを作成します。

構文

structuredClone<T>(value: T): T