public KeyValue shallowCopy() {
    KeyValue shallowCopy = new KeyValue(this.bytes, this.offset, this.length);
    shallowCopy.setSequenceId(this.seqId);
    return shallowCopy;
  }
Creates a shallow copy of this KeyValue, reusing the data byte buffer.
http://en.wikipedia.org/wiki/Object_copy
@return Shallow copy of this KeyValue
hbase-common/src/main/java/org/apache/hadoop/hbase/KeyValue.java