TypeScriptObjectstructuredClone

Creates a deep clone of the given value.

Syntax

structuredClone<T>(value: T): T