Why would Nuggets do this ? They get a similar player in return who's on a better contract and is better defensively. Bojan can be a really good starter/bench piece during playoffs. Worst case, you're letting him go and you have flexibility next season
Nets do this for young players who have potential