use ArrayObject ensure method.