title: How could I clone/duplicate some sort of UIView for iOS?
body: <p>(screenshot below helps explain what I am trying to do)</p>
  
  <p>The idea behind this is that I have a <code>UIView</code>, with various different <code>UI</code> elements inside, for example, let's say I have a <code>UIView</code>, and inside there we have a <code>UILabel</code>.</p>
  
  <p>Now I'm wanting to duplicate the <code>UIView</code> (with the label inside) BUT somehow after that I need to perhaps make a change to the label, e.g. change the text property.</p>
  
  <p>The reason I need something like this is so I can structure the <code>UIView</code> with everything I need in it looking nice, but to actually have different data with different copies of it.</p>
  
  <p>I'm not certain this is the best approach, but it's the only one I could come up with. If anyone has any ideas on how to do this, or any ideas on a better approach I'd really appreciate it. A lot!<img src="https://i.stack.imgur.com/D4ac1.png" alt="Screenshot to make it easier to understand"></p>