Add ndarray chunk support