Cleaning Iphone 4s with out restoring.

Recently just purchased a 5s. And I want to remove all my personal data from my 4s with out restoring it so as to keep the jailbreak intact. Anyone know whats steps I need to do this.