Clone Your Eloquent Models
Sometimes, it’s a nice feature to clone a model. If we need most of its attributes and change only a few, it could be life-saving. Using this one-liner we can clone the object easier than we except.
Follow us on Twitter
Do you want to support and help us? A Twitter following or a sharing means a lot to us. Thank you!