I wonder whether it makes sense to implement _d_newarrayT in terms of this?