function Table.merge(i,M)local Y={}for i,M in pairs(i)do Y[i]=M end for i,M in pairs(M)do Y[i]=M end return Y end
--- Shallow merges two tables without modifying either
-- @tparam table orig original table
-- @tparam table new new table
-- @treturn table
function Table.merge(orig, new)
	local _table = {}
	for key, val in pairs(orig) do
		_table[key] = val
	end
	for key, val in pairs(new) do
		_table[key] = val
	end
	return _table
end
