Citadel/Reference/data/copyFunction of datadata.copyA detached JSON snapshot as ordinary Lua values/tables.data.copy(value: any) → anyParametersvalueanyrequiredReturnsanyUsed inlocal snapshot = data.copy(e.data) -- an ordinary, detached Lua tableCustom blocksare userdata, so use `data.copy(view)` before ordinary `table.*`, `pairs`, orCustom blocks