Otto Weininger said this quote

Talent is hereditary; it may be the common possession of a whole family (eg, the Bach family); genius is not transmitted; it is never diffused, but is strictly individual.