Is it safe to sell an iPhone?

We've blogged in the past about the potential security threats related to devices that store information, such as copier machines. Here's an interesting story about the risks of selling an iPhone (or other smart device) and what you can do to protect your data: http://news.yahoo.com/blogs/upgrade-your-life/true-false-never-sell-old-phone-215656295.html