Adding wrap constructor for ArrayObject.