function BrioUtils.clone(p)assert(p,"\066\097\100 \098\114\105\111")if p:IsDead()then return Brio.DEAD end local J=Brio.new(p:GetValue());(J:ToMaid()):GiveTask((p:GetDiedSignal()):Connect(function()J:Kill()end))return J end

function BrioUtils.clone(brio)
	assert(brio, "Bad brio")

	if brio:IsDead() then
		return Brio.DEAD
	end

	local newBrio = Brio.new(brio:GetValue())

	newBrio:ToMaid():GiveTask(brio:GetDiedSignal():Connect(function()
		newBrio:Kill()
	end))

	return newBrio
end
