implements image.clone. closes #48