Shameless plug: we created an OSS "Clipboard Firewall" for Windows [1] to protect against those attacks but feel free to fork it.
[1] https://github.com/CoinFabrik/ClipboardShield