nanshe/nanshe/registration.py: Avoid copying when it is unnecessary.
nanshe/nanshe/registration.py: Avoid copying when it is unnecessary.

jakirkham/nanshe,nanshe-org/nanshe,jakirkham/nanshe,nanshe-org/nanshe,DudLab/nanshe,DudLab/nanshe