Synchronization problems with iCloud Drive under Windows 10

I had the same problem with the iCloud sync. I managed to solve it by uninstalling the Microsoft store version of iCloud app… instead I installed a desktop iCloud app. It’s been working great so far, no duplicates are appearing.