Added cloning constructors to Components and Entity.