Water removes static. So wiping with water would remove static. Wiping with water doesn't usually make the paint look glossy and clear.
Quick detailers, or spray detailers make paint look clear and glossy. Quick detailers or spray detailers contain water. Most any quick detailer will remove static electricity because they contain water and water removes static electricity.
Lots of rubbing with a dry cloth makes static electricity for do only a final wipe with your spray detailer to remove static electricity, don't wipe and wipe and wipe and wipe, etc.
For what it's worth, you can also ground out your car, this isn't a perfect solution but it can help. I've used Jumper cables because they're a great conduit for electricity and already have a built in clamp at both ends.
Clamp one end to car and clamp the other end to something that's grounded to the ground like a metal water pipe or a steel stake in the yard, use your imagination.