Created a method for cloning applications. This is a shallow clone so
that each application that is cloned shares the same configuration,
routes, env_config, etc.