clone method
Creates a new Decoder that is a copy of this one.
This is useful when a Decodable implementation needs to decode data without consuming the original data. For example when checking if a key exists or decoding a value conditionally.
Implementation
@override
MsgPackCollectionDecoder clone() {
return MsgPackCollectionDecoder(_unpacker, length)..index = index;
}