deepCopy DeepCopy makes deep copies of things: unexported field values are not copied. Usage cpy := deepcopy.Copy(orig)