removes photo duplicates