The exclusive privileges of corporations, statutes of apprenticeship,*78 and all those laws which restrain, in particular employments, the competition to a smaller number than might otherwise go into them, have the same tendency, though in a less degree.