Treat repeated y values
Repeated y (i.e. reference) values can be problematic, particularly if they are repeated many times. It would be good to treat them similarly to how we treat repeated x (i.e. model) values, though in this case the problem is not as fundamental since repeated y values do not violate the property of the spline being a mathematical function.