You can control what exactly gets cloned by overriding the __clone() method in your Course entity. You can set id to null and clone referenced objects if you need a deep copy.
The serialization/unserialization feels like a hack, so I recommend against using it.