The amalgamated duplication of a ring along a multiplicative-canonical ideal