Added Duplicate() methid to the Module interface.

This allows users to create unconfigured duplicates of an existing Module
with a new specific id.