@Override
  public ExtendedCell deepClone() {
    byte[] copy = new byte[this.length];
    ByteBufferUtils.copyFromBufferToArray(copy, this.buf, this.offset, 0, this.length);
    KeyValue kv = new NoTagsKeyValue(copy, 0, copy.length);
    kv.setSequenceId(this.getSequenceId());
    return kv;
  }
An extension of the ByteBufferKeyValue where the tags length is always 0
hbase-common/src/main/java/org/apache/hadoop/hbase/NoTagsByteBufferKeyValue.java