Honor the "amount" parameter of the 'duplicate' layer.