Fixed module copy constructor