I just think it's bullshit. Once you're that close to the goal, you should have to defend, not play games with the offsides rule. If I were Dictator of Sports I'd rewrite the rulebook so there's no such thing as offsides in the box.
“He was on the other side of the court, screaming: ‘Good shot, Kev!’” Durant said, shaking his head in delight. “I’m thinking, this guy’s an All-American type of teammate right there.”