I guess it makes sense if you have been there for, say, three years that you then stay an extra two years (you didn't already plan on) before seeking a job elsewhere. Considering that any other job would have to give you 25000 more, staying is properly the best offer.
But really outside of that situation it wouldn't seem as an attractive offer. It is not difficult to imagine some other company offering you 10k more especially if you are hitting the first big milestone of 3-5 year professional experience (even if that measure is, at best, bullshit).