axlItem* axl_item_copy ( axlItem item,
axlNode set_parent 
)

Copies the reference provided creating a newly allocated copy, including he content inside.

Parameters:
item The item to copy.
set_parent Optionally, allows to provide the parent to be configured to the item created. This is really required while copying items that contains nodes.
Returns:
A newly allocated axlItem reference, containing the same data (a deep copy) and optionally configured with the provided parent.