Support attributes when copying modules (#19040)
Summary:
Pull Request resolved: https://github.com/pytorch/pytorch/pull/19040
ghimport-source-id: 37933efd717795751283cae8141e2e2caaae2e95
Differential Revision: D14878128
Pulled By: driazati
fbshipit-source-id: 7ef5f7b1b16b9bf9254e8503564fa3a750d841ab