Array handling for CxObjects