Yeah this was through Apple's trade-in process
That's the only thing about Apple/iPhone that makes me jealous. I love Android and am constantly frustrated by my wife's iPhone. But I envy how they keep their value so much better than Android phones do.