Added ICloneable and IEquatable interfaces for Graph