(1)The proper officer may, on the entry or clearance of any goods or at any time while such goods are being passed through the customs area, take samples of such goods in the presence of the owner thereof, for examination or testing, or for ascertaining the value thereof, or for any other purposes of this Act.