Fix bug #410  -  Duplicate layer not implemented in Cairo