clone method
Returns a copy of this cell.
Implementation
Cell clone() {
if (_contentKind == _CellContentKind.complex) {
_graphemePool.retain(_contentValue);
}
if (_linkId != 0) {
_linkRegistry.retain(_linkId);
}
return Cell._packed(
style: _style,
link: _link,
width: _width,
contentKind: _contentKind,
contentValue: _contentValue,
styleId: _styleId,
linkId: _linkId,
drawable: drawable,
);
}