Add the clear function to the memory pool

Clear function is heavy used when the chunk is almost full