clone doesn't copy extension methods

When you call clone on a 'type', that you have extended, the resulting object doesn't have the extension methods.
This should fix the issue.