diff --git a/src/base/table.lua b/src/base/table.lua index ba653648..65efce78 100644 --- a/src/base/table.lua +++ b/src/base/table.lua @@ -53,6 +53,7 @@ clone[key] = copy(value) end + setmetatable(clone, getmetatable(object)) return clone end