Type info copy

Hi,

I think the TypeInfo.copy method is a little bit too shalow.
Compound attributes (like 'edit_links' for example) are not copied.
Therefore when creating a  new TypeInfo instance trough the copy method and then adding a Link to its edit_links,
the orginal TypeInfo gets also modified....

Regards.