[WIP] Remove `alloc_clear`

More memory cleanup. ref #487 / #488