Turn a cloned macOS partition into a unique copy for use with iCloud
It appears deleting the files NetworkInterfaces.plist and preferences.plist from /Library/Preferences/SystemConfiguration/, then rebooting, would do the trick - iCloud needs to be set up from scratch again.

But that's a bit of an overkill, as it removes some other valid configurations (network setup, VPN connections etc.) as well.