Fix clone method for courses.