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
JsonDecoder clone() {
return JsonDecoder(buffer, _offset);
}