The optical design is first and foremost the deciding factor being bokeh. The camera to subject and subject to background distance ratio also plays an important part. Lens coatings play a part, although minor and lastly when stoped down, even 1/3rd of a stop, the roundness of the aperture blades. The more blades, the easier it is to have it round.