I have a MacBook Pro and my photo library for some reason has duplicates of most of my photos. The duplicates are not appearing on the iPhone photo library, so it seems that the problem is with the computer alone. I've tried the Repair library option which didn't help, I turned off Photos in the iCloud section on my MacBook which gave me a warning saying ~5000 photos would be deleted from the MacBook, but nothing changed and all photos remained on my computer. Other than manually going through all the photos and deleting the duplicates, how can I rebuild my library on my MacBook and not ruin the cloud library? I'd like to delete everything and have it redownload the library from the cloud, but I don't want to accidentally delete the cloud backup.