@ -14,10 +14,18 @@ function table.dump(t, depth)
end
function table.copy(t)
local res = {}
for k,v in pairs(t) do
res[k] = v
return res
function table.recursivecopy(t)
if type(v) == "table" then
res[k] = table.copy(v)
res[k] = table.recursivecopy(v)
else