10: add clear script

 from https://clearscript.codeplex.com/