docs: public static DoublesSketch wrap(final Memory srcMem) {
      if (checkIsCompactMemory(srcMem)) {
        return DirectCompactDoublesSketch.wrapInstance(srcMem);
      }
      return DirectUpdateDoublesSketchR.wrapInstance(srcMem);
    }