Big difference in intent and perception here. Anaheim (and likely some other teams) thinks Kreider can still play and produce at a level roughly worth his salary/percentage of the cap, and intend to keep him around (and they might be right - with how big a mess NYR were last season, I'm not sure you can read too much into the production of anyone on that roster). No one thought Marleau could produce at a pace relative to his salary/percentage of the cap, and Carolina picked him to buy him out. Also, Kreider is going into his age 34 season whereas Marleau going into his age 40 season at the time. He's also one year removed from a 39 goal, 75 point season - levels Marleau hadn't approached in years when the Leafs dumped him.
I get the compulsion to make things like this about the Leafs and find parallels, but this is a very weak one.