function Table.merge(d,C)local G=table.clone(d)for d,C in pairs(C)do G[d]=C end return G end
--[=[
	Shallow merges two tables without modifying either.

	@param orig table -- Original table
	@param new table -- Result
	@return table
]=]
function Table.merge(orig, new)
	local result = table.clone(orig)
	for key, val in pairs(new) do
		result[key] = val
	end
	return result
end
