the equal protection clause of the fourteenth amendment does not take from the state the power to classify in the adoption of police laws , but admits of the exercise of the wide scope of discretion in that regard , and avoids what is done only when it is without any reasonable basis , and therefore is purely arbitrary .