PCT-506 Fixed lost sample

Let's make this more efficient: here we copy the entire struct which includes `vals []float64` then in `Reset()` we do `s.vals = []float64{}`.  So we copy all those values for nothing.