MCPcopy Create free account
hub / github.com/claude-code-best/claude-code / clone

Function clone

src/utils/slowOperations.ts:224–227  ·  view source on GitHub ↗
(value: T, options?: StructuredSerializeOptions)

Source from the content-addressed store, hash-verified

222 * const copy = clone(originalObject)
223 */
224export function clone<T>(value: T, options?: StructuredSerializeOptions): T {
225 using _ = slowLogging`structuredClone(${value})`
226 return structuredClone(value, options)
227}
228
229/**
230 * Wrapped cloneDeep with slow operation logging.

Callers 1

parseSettingsFileFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected