workaround for ArrayObject property access not working in destructors, thanks Ross, closes #511