Clustered Star Formation and the Origin of Stellar Masses