JuMPv0.21 and deepcopy

The behavior of copy and deepcopy come from different code (copy has a specific implementation in JuMP, while deepcopy defaulted to the generic type fallback), so it is entirely possible that you may have observed some difference between them; however, deepcopy should not really be fully working, as @Thuener suggested to make it an error exactly because they were surprised by a silent change to the deepcopied model after changing the original model.