public static CodeAttributeArgumentCollection Clone(this CodeAttributeArgumentCollection collection)
{
if (collection == null) return null;
CodeAttributeArgumentCollection c = new CodeAttributeArgumentCollection();
foreach (CodeAttributeArgument argument in collection)
c.Add(argument.Clone());
return c;
}