I'd mainly consider how much replacement Cassettes and chains cost. If you get a new bike with fancy $150-300 cassettes and $80 chains then definitely keep the old one around.
If your new one takes $40 cassettes and $15 chains then it's up to you. That's not to expensive to replace.
Of course, extra bikes are always nice.