--[[
	Creates a new copy of the dictionary and sets a value inside it.
]]

function Immutable.Set(dictionary, key, value)
	local new = {}

	for k, v in next, dictionary do
		new[k] = v
	end

	new[key] = value

	return new
end
