Of course this would mean good-bye duty free (by definition you've already cleared US customs) and it would be the same as EU sales.
On board, yes. However you just purchase in the terminal as normal if you want, before going down to the USCBP area and proceeding through the immigration and customs process. That's how it runs at DUB.