You can clean everything on a Windows Phone using the Reset your phone option. While you are on the main screen, swipe to left, then scroll down to Settings and scroll again to About. Tap on reset your phone and confirm your operation and that's it. The phone will be restored to its factory condition. Initial configuration needs to take place again in case you want to use it.