There are extensions like "Cookie AutoDelete" where you can explicitly whitelist what coookies are not supposed to be delete. I think it does not automatically clear localstorage, though. But if you combine this with a blocker extension to remove the usual suspects when it comes to tracking, you are mostly there already.