public object Clone() { return(new XChangeRate(Rate, (CurrencyPair)CcyPair.Clone())); }
public XChangeRate(double rate, CurrencyPair ccyPair) { Rate = rate; CcyPair = (CurrencyPair)ccyPair.Clone(); }