Fix service resource cloning