--- @function modpol.copy_table -- Returns a copy of the table inputted function modpol.copy_table(t) local t2 = {} for k,v in pairs(t) do t2[k] = v end return t2 end