Original sentence: Kant clearly did maintain (in his Groundwork for the Metaphysics of Morals) that an action solely motivated by inclination or self-interest is entirely lacking in moral worth
Edited sentence: Though Rand denigrated Kant's system as the absolute opposite of Objectivism,  Kelley Ross suggests that Rand drew on Kantian ideas without realizing it: "She despised Immanuel Kant but then actually invokes 'treating persons as ends rather than as means only' to explain the nature of morality," In Rand's favor, Kant clearly did maintain (in his Groundwork for the Metaphysics of Morals) that an action solely motivated by inclination or self-interest is entirely lacking in moral worth