remove unnecessary clone usage
Merge pull request #3001 from jxs/master

remove unnecessary clone usage