export function copy(value: T): T { return JSON.parse(JSON.stringify(value)); }