title: How can I duplicate, or copy a Core Data Managed Object?
body: <p>I have a managed object ("A") that contains various attributes and types of relationships, and its relationships also have their own attributes &amp; relationships. What I would like to do is to "copy" or "duplicate" the entire object graph rooted at object "A", and thus creating a new object "B" that is very similar to "A".</p>
  
  <p>To be more specific, none of the relationships contained by "B" (or its children) should point to objects related to "A". There should be an entirely new object graph with similar relationships intact, and all objects having the same attributes, but of course different id's.</p>
  
  <p>There is the obvious manual way to do this, but I was hoping to learn of a simpler means of doing so which was not totally apparent from the Core Data documentation.</p>
  
  <p>TIA!</p>