public object Clone()
{
HaarFeatureNode r = new HaarFeatureNode();
r.Feature = (HaarFeature)Feature.Clone();
r.Threshold = Threshold;
r.RightValue = RightValue;
r.LeftValue = LeftValue;
r.LeftNodeIndex = leftNodeIndex;
r.RightNodeIndex = rightNodeIndex;
return r;
}