docs: static DoublesUnionImpl wrapInstance(final WritableMemory mem) {
      final DirectUpdateDoublesSketch sketch = DirectUpdateDoublesSketch.wrapInstance(mem);
      final DoublesUnionImpl union = new DoublesUnionImpl(sketch.getK());
      union.gadget_ = sketch;
      return union;
    }