title: Clone a container control and its child controls during runtime
body: <p>I have a Windows Forms container control (e.g. a group box or a panel) with some child controls. Now I want to copy/clone this container control, so that I get a exact copy of it during runtime. How can I achieve this with C#? </p>
  
  <p>What I want to do it something like this:</p>
  
  <pre><code>GroupBox groupNewBox;
  groupBox1.CloneTo(groupNewBox);
  </code></pre>