Adds cloneWithProps snippet