Inserts the specified knot the specified number of times at the specified index, and returns a reference to this vector.