1) It is not required by this PR.
2) InputArray will introduce additional overhead.
3) I have no chance to support and test all InputArray's cases.
4) InputArray usage will not minimize code size with introduced complexity.