Remove unnecessary String#dup.