Even though this has been a frequent request that has never been implemented as a function I still wonder:
Could you tell us what would qualify a file as "duplicate"?
Perhaps this discussion from 2011 shows you some of the other options:
/t/11873/1