title: Is there a built in function in go for making copies of arbitrary maps?
body: <p>Is there a built in function in go for making copies of arbitrary maps?</p>
  
  <p>I would be able to write one by hand but I found out earlier I was looking a similar question when I wanted to make a deep comparison of maps and there seemed to be a function already built in for that! So similarly, maybe I was wondering if there was an built in or some library or package for making deep copies of maps in golang. I am sure I am not the first person to want to make copies of maps in go.</p>
  
  <p>By copy I mean you can create two different variables that reference a different map in memory even though they are the same content wise.</p>