# Cloning Class Instance

**URL:** <https://forum.kirupa.com/t/cloning-class-instance/331051>\
**Category:** flash\
**Created:** [May 4, 2013, 1:51am UTC](https://forum.kirupa.com/t/cloning-class-instance/331051 "2013-05-04T01:51:33Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![selacius](https://avatars.discourse-cdn.com/v4/letter/s/898d66/32.png) [@selacius](https://forum.kirupa.com/u/selacius)\
**Post date:** [May 4, 2013, 1:51am UTC](https://forum.kirupa.com/t/cloning-class-instance/331051/1 "2013-05-04T01:51:33Z")

</div>

I am wondering how I can go about “cloning” a class and then breaking the association between the two. For further example:

Class A = instance of class to be used as a default.  
Class B = clone of Class A, with exact same data as A.

Changes made to Class B will not link back to Class A, nor will changes in Class A be reflected in Class B until I make a new clone.
