I think "This variant allows specifying..." is better than "This variant allows to specify..." here.