clone Class/Module rightly
Merge pull request #1664 from h2so5/clone-class-module

clone Class/Module rightly