Alvarez's contract clause enables cheaper Barcelona signing