Only support calloc based arrays