MCPcopy
hub / github.com/codeaashu/claude-code / clone

Function clone

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

Source from the content-addressed store, hash-verified

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

Callers 1

parseSettingsFileFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected