A Leibniz algebra structure on the second tensor power