code: public Bits dup() {
          Assert.check(currentState != BitsState.UNKNOWN);
          Bits tmp = new Bits();
          tmp.bits = dupBits();
          currentState = BitsState.NORMAL;
          return tmp;
      }
docs: Return a copy of this set.