Avoid using #dup.