Adding support for different network when cloning.