def replace(other)
      if other.is_a?(AbstractSet)
        other
      else
        copy(:mask => as_mask(other, true))
      end
    end
def replace(other)
      if other.is_a?(AbstractSet)
        other
      else
        copy(:mask => as_mask(other, true))
      end
    end
(see AbstractSet#replace)