title: Resetting a QML StackView to initial state
body: <p>I have a QML <code>StackView</code> which during the application has many components being pushed to it. What I would like to do is actually reset the <code>StackView</code>to its initial state at some point during the application. The StackView is defined as:</p>
  
  <pre><code>StackView {
      id: soemID
      initialItem: myItem
  }
  </code></pre>
  
  <p>As the application goes on things get pushed and popped. I looked for some convenient way to reset this to only hold the initial item but could not find it. Is the only way to do this would be to successively pop the items till only one item remains?</p>