def entry.clone
import mylsm-lsm-store@0.6.0.1/src/ByteMemTable.bend as ByteMemTableimport Base
129# Clones both buffers and the optional value in one entry.
130def entry.clone(entry: Entry) -> Entry & Entry:
131 match entry:
132 case Entry{key, val}:
133 entry.clone.fields(bytes.clone(key), value.clone(val))