Clone of protobuf