public object Clone()
{
Histogram clone = new Histogram();
clone.initialize(this.values.Length);
for (int i = 0; i < clone.ranges.Length; i++)
clone.ranges[i] = this.ranges[i];
for (int i = 0; i < clone.values.Length; i++)
clone.values[i] = this.values[i];
clone.cumulative = this.cumulative;
clone.inclusiveUpperBound = this.inclusiveUpperBound;
clone.rule = this.rule;
return clone;
}
}