Support statefull allocators in array