function clone clone<T>(obj: T): T Clone an object using structuredClone. Type Parameters T Parameters obj: T Return Type T