Add function to clear all persistent storage used by wasm.
No changes between version 4 and version 3