See discussion in https://github.com/xtensor-stack/xtensor/pull/2241
See discussion in #2241