Filters away duplicate images.