[COOK-3689] Fix warnings about resource cloning

Signed-off-by: Seth Vargo <sethvargo@gmail.com>