Remove duplicate images.