Costco is a membership club, and AFAIK these have different rules.
I am suggesting that for a manufacturer larger than the very smallest, compliance is simple. They just create another SKU (or brand) and sell it for less off Amazon. Voila, the customer cannot purchase the same product for less money off of Amazon.