copy


Description:

[ Version ( since = "3.58" ) ]
public ComponentBagItem copy ()

Creates an independent copy of the this.

If there is set a copy_user_data, then also the user_data member is copied using this function, otherwise the user_data member is just carried over to the new copy.

Parameters:

this

an ComponentBagItem

Returns:

a new copy of the this