Implement a cloning method for components

Use it in World::loadEntityDescriptor, to avoid segfault on both
deletion in entity descriptor and world.