deepcopy
deepcopy copied to clipboard
Make deepcopy handle protobufs nested in structs correctly.
They should be deep copied using proto.Clone which uses protoreflect under the hood. https://blog.golang.org/protobuf-apiv2
Good to know, but this should be kept in a fork of this project to not add a dependency in this package.