What are your thoughts on that? Would users accidentally delete their history? Does it fit in with the current design patterns of the tray?
Middle clicking, or scrolling on top of system tray widgets is a common interaction mode for KDE Plasma widgets. Having a non-reversible destructive action be triggered by such an interaction is a Bad Idea™.
If the interaction will trigger a confirmation dialog - it’s better, but that breaks the paradigm of MMB/scroll on widgets being a quick and simple interaction, and may also be an annoyance for people that try to middle click another widgets on the system tray and miss (the icons are quite small sometimes).
My recommendation: No.
There’s a right click menu action for that, and we should not make non-reversible destruction actions more accessible. If you personally want a quicker action, you can script it with a D-Bus command, for example: qdbus org.kde.plasmashell /klipper org.kde.klipper.klipper.clearClipboardHistory
, and there are plenty of Plasma widgets that will let you trigger that from various UIs.