deleted copy constructors in Component rather than all the subclasses