Allow/disallow duplicate images