Are you sure the issue is static electricity? Despite being essentially some of the best mice on the market, the switches they use are a bit sub-standard. Over time, they tend to develop double-click issues. (Where a single click registers as two)
I had a G305 that did this, and given the low price of the mouse I gave up going through the work to desolder and replace the switches.
I'm not 100% positive, but it seems to be. Blowing into the front of the mouse would fix it for a few minutes. I saw a bunch of threads about it the last time I looked into it.
If I recall correctly, there were firmware updates that claimed to fix the same or similar issues, but those had no effect for me.
I had a G305 that did this, and given the low price of the mouse I gave up going through the work to desolder and replace the switches.