docs: def repair(self, x, copy_if_changed=True, copy_always=False):
          """transforms ``x`` into the bounded domain.
  
          ``copy_always`` option might disappear.
  
          """
          copy = copy_if_changed
          if copy_always:
              x = array(x, copy=True)
              copy = False
          if self.bounds is None or (self.bounds[0] is None and
                                     self.bounds[1] is None):
              return x
          return self.bounds_tf(x, copy)