Added an optional clone and url() value.

Fixed a type of in the example.