public override object Clone()
{
// override Clone so that returned object is an
// instance of PropertyCollection instead of Hashtable
PropertyCollection clone = new PropertyCollection();
foreach (DictionaryEntry pair in this)
{
clone.Add(pair.Key, pair.Value);
}
return clone;
}
}