Add minetest.copy_table(table)
To get rid off the "table references"