Added copy constructor for learn_period