ComponentItem () { final ComponentItem result = new ComponentItem( myProject, myClassName, myIconPath, myToolTipText, (GridConstraints)myDefaultConstraints.clone(), (HashMap<String, StringDescriptor>)myPropertyName2initialValue.clone(), myRemovable, myAutoCreateBinding, myCanAttachLabel ); result.setIsContainer(myIsContainer); return result; }