github.com/huandu/go-clone (go): Package clone provides functions to deep clone any Go data. It also provides a wrapper to protect a pointer from any unexpected mutation.
Keywords: algorithm|clone|deepcopy|go|immutable|reflect|utility