Turning off all self switches

Hi ! I have a problem with self switches. Is there any command that would turn off them all  ? I want to make a replayable gameplay (on the existing save[something as new game+]).I can't script, so something to copy&paste would be very useful. Thanks in advance.
Code:
$gameSelfSwitches.clear();
Thanks you very much. I didn't know that javascripts are so short :-D

Original thread: https://forums.rpgmakerweb.com/threads/turning-off-all-self-switches.61214/