Copying with ref() triggers ADL.