Replace darray_mem with a new darray_steal