Solved by tux in post #6 
              
              
                If you want, you can use deep copy from the copy library. You will be sure to have 2 independent objects. 

modelB = copy.deepcopy(modelA)