Using Tampermonkey extension:
// ==UserScript==
// @name cls
// @version 0.1
// @description Clear console by calling 'cls'
// @author MohannadNaj
// @match *://*/*
// @grant none
// ==/UserScript==
(function() {
'use strict';
Object.defineProperty(window, 'cls', {get () { console.clear() }});
})();