Whenever the use of inventories is necessary in order clearly to determine the income of any taxpayer, inventories shall be taken by such taxpayer upon such basis as the regulations hereunder may prescribe, conforming as nearly as may be to the best accounting practice in the trade or business and most clearly reflecting the income.
N.J.S. § 54:8A-38