title: What is the difference between the different implementations of clone() in ConstraintSet?
body: <p>According to the <a href="https://developer.android.com/reference/android/support/constraint/ConstraintSet.html#clone(android.support.constraint.ConstraintLayout)" rel="nofollow noreferrer">docs for <code>ConstraintSet</code></a>, there are three implementations of the <code>clone()</code> method:</p>
  
  <ul>
  <li><code>void clone(ConstraintLayout constraintLayout)</code></li>
  <li><code>void clone(ConstraintSet set)</code></li>
  <li><code>void clone(Context context, int constraintLayoutId)</code></li>
  </ul>
  
  <p>The explanation for each version in the docs is a little vague, so I'm not entirely clear on what the differences between the three are and when I should use each one. I've been able to use the first one with no problems or anything whenever I needed to.</p>