Safer ArrayDestroy calls