public Parameter Clone () { Parameter p = (Parameter) MemberwiseClone (); if (attributes != null) p.attributes = attributes.Clone (); return p; }