* Andre Leiradella: > clone = function (t) local nt={}; system_lib.for_each(t, function(i, v) nt[i] = v end) return nt end > if system_lib.type_of(root) ~= system_lib.TABLE then What is system_lib? (Just in case Joe hasn't got it, either.)