docs: def _build_ufunc(func):
      """Return a ufunc that works with lazy arrays"""
      def larray_compatible_ufunc(x):
          if isinstance(x, larray):
              y = deepcopy(x)
              y.apply(func)
              return y
          else:
              return func(x)
      return larray_compatible_ufunc